//
//  CXPickerView.h
//  各种自定义小功能
//
//  Created by 蔡翔 on 16/8/2.
//  Copyright © 2016年 蔡翔. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CXPickerSheetView.h"

typedef void (^MyBlock)(NSString *electString, NSInteger index);

@interface CXPickerView : UIView
/** 用于传值 */
@property (copy, nonatomic) MyBlock selectMessage;
/** CXPickerSheetView对象 */
@property (nonatomic, strong) CXPickerSheetView * selectPickerSheetView;

- (instancetype)initWithDataArray:(NSArray <NSString *>*)data;

- (void)show;

@end
